package com.schoolcloud.social.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;

import lombok.Data;

/**
 * 活动评论表
 * @TableName soc_event_remark
 */
@TableName(value ="soc_event_remark")
@Data
public class SocEventRemark implements Serializable {
    /**
     * 评论表id
     */
    @TableId(type = IdType.AUTO)
    private Integer remarkId;

    private Integer eventId;

    /**
     * 发言者
     */
    private Integer userId;

    /**
     * 父类id
     */
    private Integer parentId;

    /**
     * 评论内容
     */
    private String content;

    /**
     * 状态
     */
    private Integer status;

    private LocalDateTime createTime;

    @Serial
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
